<div class="fui-page  fui-page-current page-goods-list">
	<div class='fui-content order-list' style="top:4rem;padding:0.5rem;width:auto">
		<div class="fui-cell-group" style="margin-top:0.2rem">
            <div class="fui-cell">
                <div class="fui-cell-info" style="padding:0 0.1rem;">
                    <input class="weui_input font-input date-input" type="date" ng-model="pagedata.params.tstart" placeholder="开始时间">
                </div>
				<div class="fui-cell-info" style="padding:0 0.1rem;">
                    <input class="weui_input" type="date" ng-model="pagedata.params.tend" placeholder="结束时间">
                </div>
				<div class="fui-cell-remark noremark" style="margin-left:0.3rem">
                    <i id="searchsub" class="icon icon-sousuo1 bold" ng-click="pagedata.toget();"></i>
                </div>
            </div>
        </div>
		<div class="fui-cell-group merchgroup" ng-repeat="item in pagedata.list">
            <div class="fui-cell" >
				<div class="fui-cell-label" style="margin-top:0.16rem;width:auto">
                    <img style="width:3rem;height:3rem" ng-src="{{tomedia(item.goods.image) || '../core/resource/images/nopic.jpg'}}"/>
				</div>
                <div class="fui-cell-text" style="margin-top:0.16rem;">
                    <div class="title overflow-h2" style="font-size:0.76rem;padding-bottom:0.2rem"><span>{{item.goods.title}}</span></div>
					<div class="subtitle" style="font-size:0.7rem">
						入库数量：{{item.num}}
					</div>
				</div>
				<div class="fui-cell-remark noremark">
					<div class="label label-info">{{item.typetitle}}</div>
				</div>
            </div>
			
		</div>
		<div ng-if="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
		<div class="content-empty" ng-if="pagedata.list.length <1 && !pagedata.loading">
		  <i class="icon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><div style="color: #999;font-size: .75rem">您暂时没有消息！</div>
		</div>

    </div>
</div>
<script>
scope.pagedata.params.tstart=new Date(scope.pagedata.params.tstart);
scope.pagedata.params.tend=new Date(scope.pagedata.params.tend);
scope.tool.get_list('jy_shopwms/manage.in_log/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_shopwms/manage.in_log/list/');
}
scope.pagedata.toget=function(){
	scope.pagedata.params.newtstart=scope.pagedata.params.tstart*1/1000;
	scope.pagedata.params.newtend=scope.pagedata.params.tend*1/1000;
	scope.tool.get_list('jy_shopwms/manage.in_log/list/',true);
}
</script>